package com.dcits.electronic_account.service;

import com.dcits.electronic_account.bean.VirtualAccount;

import java.math.BigDecimal;

/**
 * @author: YHC
 * @Date: 2022/6/25
 */
public interface TransferAccountsService {

    VirtualAccount searchVirById(Integer virId);

    VirtualAccount searchVirByUserName(String userName);

    VirtualAccount searchVirByPhone(String VirPhone);

    void transfer(BigDecimal amount,VirtualAccount payer,VirtualAccount payee);


}
